import request from "@/network/request";

export function list(page, size) {
    return request({
        url: '/business/teacher/list',
        params: {
            page: page,
            size: size,
        }
    })
}

export function saveTeacher(params) {
    return request({
        url: '/business/teacher/save',
        data: params
    })
}

export function deleteTeacher(id) {
    return request({
        url: '/business/teacher/delete/' + id,
    })
}

export function allTeacher() {
    return request({
        url: '/business/teacher/all',
    })
}


